r1 = 4
r2 = 5
r3 = (r1 + r2) / 2
import math
temp = math.pi
s1 = temp*r1**2
s2 = temp*r2**2
s3 = temp*r3**2
print(s1)
print(s2)
print(s3)